Teaching C/C++ Programming with Lego Mindstorms
نویسنده
چکیده
Computer programming is a skill required in many professions, not just computer science. Lego Mindstorms NXT can be incorporated into a programming course to add hands-on interactivity that will better engage a broader range of students. Chosing the most suitable programming language is difficult, and this paper summarizes some experiences in teaching students using RoboLab and NXT-G for Mindstorms NXT. The text-based language RobotC is recommended for beginner and intermediate level courses, and various code examples are provided to assist teachers in building lesson plans. It is suggested that advanced programming should be taught in C++, and an example of using the NXT++ library to control a robot arm is presented. Teaching all levels of programming, using robotics, is more enticing and stimulating for students, and teachers can justify the purchase of expensive robot hardware by employing it in multiple areas of the school curriculum.
منابع مشابه
ICCAS 2005 June 2 - 5 , KINTEX , Gyeonggi - Do , Korea Learning C Language Using Robots
Lego company created a set called Robotic Invention System as a kind of Mindstorm set. This system helps to understand the technology of both robot and programming language. It also improves creativeness by building and controlling the robot we make. This paper will introduce basic idea of controlling the RCX(Programmable Lego Block) in C language. Also, this paper will show different idea of t...
متن کاملLego Mindstorms as a Simulation of Robotic Systems
In this paper we deal with using Lego Mindstorms in simulation of robotic systems with respect to cost reduction. Lego Mindstorms kit contains broad variety of hardware components which are required to simulate, program and test the robotics systems in practice. Algorithm programming went in development environment supplied together with Lego kit as in programming language C# as well. Algorithm...
متن کاملFrom SCADE to Lego Mindstorms
The synchronous approach to designing safety critical real-time systems allows the notion of physical time to be replaced with an ordering among events. One such language of this type is Lustre which allows control to be expressed through dataflow equations. This language is used as the basis for an industryleading tool called SCADE. SCADE provides a graphical environment for expressing dataflo...
متن کاملSimulating a LEGO Mindstorms RCX Robot in the Robotran Environment
LEGO Mindstorms robots are very popular with colleges and universities for teaching computer concepts and programming. These robots elicit excitement in students and provide a nontrivial, real-world platform for exploring algorithmic concepts. We created a simple algorithmic language, called Robolang, and wrote a translator that turns it into Lejos code, a variant of Java that can be run on the...
متن کاملLEGO Mindstorms Robots as a Teaching Tool in Agricultural Education
The objective of this paper is to convey the results of a first effort to use LEGO Mindstorms kits in an introductory course in Technical Systems Management (TSM), at the department of Agricultural Engineering of the University of Illinois. Four groups of students built Robotic Agricultural Machines using LEGO Mindstorms kits, with Robolab as the programming environment. The projects were carri...
متن کامل